package org.jeecg.modules.wlhy.customer.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * @Description: hy_customer_config
 * @Author: jeecg-boot
 * @Date:   2021-04-25
 * @Version: V1.0
 */
@Data
@TableName("hy_customer_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_customer_config对象", description="hy_customer_config")
public class HyCustomerConfig implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**所属货主*/
	@Excel(name = "所属货主", width = 15, dictTable = "hy_customer", dicText = "customer_name", dicCode = "id")
	@Dict(dictTable = "hy_customer", dicText = "customer_name", dicCode = "id")
    @ApiModelProperty(value = "所属货主")
    private String customerId;
	/**司机结算是否抹零(0 不抹零 1抹零)*/
	@Excel(name = "司机结算是否抹零(0 不抹零 1抹零)", width = 15)
    @ApiModelProperty(value = "司机结算是否抹零(0 不抹零 1抹零)")
    private String izDriverMl;
    private String driverMlWs;
	/**司机结算( 0那个小用那个 1按发货量2按卸货量) */
	@Excel(name = "司机结算( 0那个小用那个 1按发货量2按卸货量) ", width = 15)
    @ApiModelProperty(value = "司机结算( 0那个小用那个 1按发货量2按卸货量) ")
    private String izDriverPayset;
	/**车队长结算是否抹零(0 不抹零 1抹零)*/
	@Excel(name = "车队长结算是否抹零(0 不抹零 1抹零)", width = 15)
    @ApiModelProperty(value = "车队长结算是否抹零(0 不抹零 1抹零)")
    private String izCarrierMl;
    private String carrierMlWs;
	/**车队长结算( 0那个小用那个 1按发货量2按卸货量) */
	@Excel(name = "车队长结算( 0那个小用那个 1按发货量2按卸货量) ", width = 15)
    @ApiModelProperty(value = "车队长结算( 0那个小用那个 1按发货量2按卸货量) ")
    private String izCarrierPayset;

    @Excel(name = "车队长是否扣除亏吨(0不扣除 1扣除) ", width = 15)
    @ApiModelProperty(value = "车队长是否扣除亏吨(0不扣除 1扣除)")
    private String izCarrierLoss;

    @Excel(name = "差价模式货主运费扣除亏吨(0不扣除 1扣除) ", width = 15)
    @ApiModelProperty(value = "差价模式货主运费扣除亏吨(0不扣除 1扣除)")
    private String izCjCustomerLoss;

    /**是否开启装货范围限制(0不开启 1开启) */
    @Excel(name = "是否开启装货范围限制(0不开启 1开启) ", width = 15)
    @ApiModelProperty(value = "是否开启装货范围限制(0不开启 1开启) ")
    private String izOpenRangeLimit;

    /**司机运费自动提现(0不开启 1开启) */
    @Excel(name = "司机运费自动提现(0不开启 1开启) ", width = 15)
    @ApiModelProperty(value = "司机运费自动提现(0不开启 1开启) ")
    private String autotx;

    /**装货范围值(默认 10) */
    @Excel(name = "装货范围值(默认 10) ", width = 15)
    @ApiModelProperty(value = "装货范围值(默认 10) ")
    private String rangeValue;

    /**自动签收(默认 否) */
    @Excel(name = "自动签收(默认 否) ", width = 15)
    @ApiModelProperty(value = "自动签收(默认 否)")
    private String izAutoSign;

    @ApiModelProperty(value = "启用涨吨计算")
    private String izZd;

    @ApiModelProperty(value = "涨吨基数")
    private BigDecimal zdJs;

    @ApiModelProperty(value = "小于100km每公里最多")
    private Integer xiaoHundred;
    @ApiModelProperty(value = "100km-1000km每公里最多")
    private Integer dengHundred;
    @ApiModelProperty(value = "大于1000km每公里最多")
    private Integer daHundred;

	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**删除状态(0-正常,1-已删除)*/
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private String delFlag;

	//接单限制

    /**更新人*/
    @ApiModelProperty(value = "是否打开接单限制")
    private String isOpenOrdersLimit;

    /**更新人*/
    @ApiModelProperty(value = "接单范围值(默认 10)")
    private String takeOrdersRangeValue;

    /**更新人*/
    @ApiModelProperty(value = "接单选择银行卡")
    private String isOrderBank;

    /**货主显示司机运费*/
    @ApiModelProperty(value = "货主显示司机运费")
    private String izShowDrvierFee;

    private String ysAdd;
    private String ysDel;
    private String yfAdd;
    private String yfDel;
}
